using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Specialized;

namespace SAY.Web.Security.QueryStringManagerModule
{
    public class PageSettings
    {
        #region Private Fields
        private string _URL;
        private QueryStringProtections _protection;
        private EncryptionTypes _encryption;
        private HybridDictionary _parameters;
        #endregion

        #region Public Properties
        public EncryptionTypes Encryption
        {
            get { return _encryption; }
            set { _encryption = value; }
        }
        public QueryStringProtections Protection
        {
            get { return _protection; }
            set { _protection = value; }
        }
        public string URL
        {
            get { return _URL; }
            set { _URL = value; }
        }
        public HybridDictionary Parameters
        {
            get { return _parameters; }
            set { _parameters = value; }
        }
        #endregion

        public PageSettings()
        {
            this.Parameters = new HybridDictionary(); 
        }

        public PageSettings(string url, EncryptionTypes encryption, QueryStringProtections protection)
        {
            this.URL = url;
            this.Encryption = encryption;
            this.Protection = protection;

            this.Parameters = new HybridDictionary(); 
        }
    }
}
